
 function readysubject(ID){
	 $.ajax({
	 		url : "/blackhouse/subject",
	 		type : "post",
	 		data:{"code":10},
	 		dataType : "json",
	 		success : function(e) {
	 			var html = "";
	 			for(var i = 0;i<e.length;i++){
	 				html += "<option value='" + e[i].id + "'>" + e[i].subjectname
					+ "</option>"
	 			}
	 			$("#"+ID).html(html);
	 		}
	 })
 }